
const path = require('path')
module.exports = {
  publicPath: process.env.NODE_ENV === 'production' ? './' : '/', 
  devServer: {
    host: '0.0.0.0',
    proxy: {
      '/api': {
        // target: 'https://3d.c-smart.hk/zbjd_api/smart',
        // target: 'https://3d.c-smart.hk/zbjd_api/smart',
        target: "https://3d.c-smart.hk/API/c-smart-static/zb",
        changeOrigin: true,
        pathRewrite: {'^/api': ''}
      }
    }
  }
}
